//
//  PassValueClass.m
//  easyTaxi
//
//  Created by ellenpage on 12-11-28.
//  Copyright (c) 2012年 ellenpage. All rights reserved.
//

#import "PassValueClass.h"

@interface PassValueClass ()


@end

@implementation PassValueClass

static PassValueClass *sharedPassValueClass = nil;

+ (PassValueClass *)sharedIntance
{
    @synchronized(self)
    {
        if (sharedPassValueClass == nil)
        {
            sharedPassValueClass = [[PassValueClass alloc] init];
        }
    }
    return  sharedPassValueClass;
}

- (id)init
{
    if (self = [super init])
    {
        self.isFirstTimeLocation = NO;
        
        self.nickNameStr   = nil;
        self.sexStr        = nil;
        self.teleNumStr    = nil;
        self.birthStr      = nil;
        self.isBindedStr   = nil;
        self.birthYear     = nil;
        self.birthMonth    = nil;
        self.birthDay      = nil;
        self.arrangeStr    = nil;
        self.macAddressStr = nil;
        self.lngStr        = nil;
        self.latStr        = nil;
        self.tmpLngStr     = nil;
        self.tmpLatStr     = nil;
        self.provinceStr   = nil;
        self.cityStr       = nil;
        self.districtStr   = nil;
        self.IMSIStr       = nil;
        self.CMDStr        = nil;
        self.channellNoStr = nil;
        self.userTypeStr   = nil;
        self.belongAeraStr = nil;
        self.operatorStr   = nil;
        self.versionStr    = nil;
        self.timeStampStr  = nil;
        self.deviceIDStr   = nil;
        self.areaCode      = nil;
         
        self.maplinkStr    = nil;
        self.downloadStr   = nil;
        self.callListArray = [NSMutableArray array];
        
        self.timeStep      = 30;
        self.timeUpdate    = 10;
        self.alertDistance = 2000;

        self.messageGateWay = nil;
        self.ttsStr         = nil;
        
        self.startAddress = nil;
        self.distance     = 0;
        self.poi          = nil;
        
        self.versionStr_Server = nil;
        
        self.requestID_Driver  = nil;
        self.driverInfo_Driver = nil;
        self.carColor_Driver   = nil;
        self.carNumer_Driver   = nil;
        self.phone_Driver      = nil;
        self.lng_Driver        = nil;
        self.lat_Driver        = nil;
        self.nickName_Driver   = nil;
        self.credit_Driver     = nil;
        self.goodEvaluation_Driver = nil;
        self.badEvaluation_Driver  = nil;
        
        self.orderNO  = 0;
        self.speedStr = nil;
        self.nearDriversArrsy = [NSMutableArray array];
        
        self.scoreStr = nil;
        self.costStr  = nil;
        self.rewordArray       = [NSMutableArray array];
        self.lottoryResultDict = [NSMutableDictionary dictionary];
        self.confirmResult = nil;
        
        self.appointTimeStr = nil;
        self.appointDateStr = nil;
        self.appointDepartureStr   = nil;
        self.appointDestinationStr = nil;
        
        self.cllxStr = nil;
        self.appointTimeStr_Daijia = nil;
        self.appointDateStr_Daijia = nil;
        self.appointDepartureStr_Daijia   = nil;
        self.appointDestinationStr_Daijia = nil;
        self.appointmentID = nil;
        self.appointmentID_Daijia = nil;
    
        self.tmpAppointmentID = nil;
        
        self.pageIndex = 0;
        self.pageIndex_Finished = 0;
        
        self.unevaluatedArray    = [NSMutableArray array];
        self.evaluatedArray      = [NSMutableArray array];
        self.noMoreevultedBill   = NO;
        self.noMoreUnevultedBill = NO;
        
        self.feedbackStr = nil;
        
        CGRect rect = CGRectMake(0, 20, 320, iP5 ? 568: 480);
        
        self.helpView = [[HelpView alloc] initWithFrame:rect];
        
        self.sysInfoArray = [NSMutableArray array];
        
        self.yuYueHistoryArray = [NSMutableArray array];
        self.daJiaHistoryArray = [NSMutableArray array];
        
        self.ruleArray = [NSMutableArray array];
        
        self.politCityArray = [NSMutableArray array];
        
        self.billRestoreDict = [NSMutableDictionary dictionary];
        
        self.tradeListArray = [NSMutableArray array];
        
        self.ipStr = @"etaxiapi.ehave.cn";//正式服务器
        
        self.driverArray_TianZe = [NSMutableArray array];
        
        self.zhaoCheBaoDict = [NSMutableDictionary dictionary];
    }
    return self;
}

@end
